# New ports collection makefile for:	metaport
# Date created:		2006-09-24
# Whom:			Hsu Li Wen <lwhsu@cs.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	metaport
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	cs
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	ta@cs.nctu.edu.tw
COMMENT=	The "meta-port" for csports

NO_BUILD=	yes

.include <bsd.port.pre.mk>

ALL_CSPORTS!=	(cd ..; ${MAKE} -V SUBDIR)
OPTIONS=	${ALL_CSPORTS:C,([^ ]+),\1 "Install \1" off,g}

.if exists(${OPTIONSFILE})
.include <${OPTIONSFILE}>
.endif

.for p in ${ALL_CSPORTS}
.	if defined(WITH_${p}) && !defined(WITHOUT_${p})
RUN_DEPENDS+=	cs-${p}>=0:${PORTSDIR}/cs/${p}
.	endif
.endfor

do-install: #

.include <bsd.port.post.mk>
